package com.shengqi.xinnongren.work.ui.goods.model;

public class GoodsBanner {
    public enum Media {VIDEO, PICTURE}

    public String url;
    public Media mMedia;

    public GoodsBanner(String url, Media media) {
        this.url = url;
        this.mMedia = media;
    }

    public boolean isVideo() {
        return mMedia == Media.VIDEO;
    }
}
